package com.pig4cloud.pigx.contract.websocket.message;

import com.pig4cloud.pigx.common.websocket.message.AbstractJsonWebSocketMessage;
import com.pig4cloud.pigx.contract.dto.AppContractSymbolRiseAndFallDTO;

/**
 *
 */
public class AppContractSymbolRiseAndFallWebsocketMessage extends AbstractJsonWebSocketMessage {
	/**
	 * 前端请求时会携带type，根据type匹配处理器
	 */
	public static final String TYPE = "contractSymbolRiseAndFall";

	public AppContractSymbolRiseAndFallDTO getData() {
		return data;
	}

	public void setData(AppContractSymbolRiseAndFallDTO data) {
		this.data = data;
	}

	private AppContractSymbolRiseAndFallDTO data;

	public AppContractSymbolRiseAndFallWebsocketMessage() {
		super(TYPE);
	}
}
